[BUG/Help] history 为空,训练行吗?不搞多轮 TypeError: Couldn't cast array of type list to null 这个报错啥原因 · Issue #972 · THUDM/ChatGLM

您所在的位置:网站首页 go string数组 [BUG/Help] history 为空,训练行吗?不搞多轮 TypeError: Couldn't cast array of type list to null 这个报错啥原因 · Issue #972 · THUDM/ChatGLM

[BUG/Help] history 为空,训练行吗?不搞多轮 TypeError: Couldn't cast array of type list to null 这个报错啥原因 · Issue #972 · THUDM/ChatGLM

2023-05-17 16:25| 来源: 网络整理| 查看: 265

Is there an existing issue for this? I have searched the existing issues Current Behavior

{"prompt": "中华人民共和国反电信网络诈骗法的作用是什么", "summary": "为了预防、遏制和惩治电信网络诈骗活动,加强反电信网络诈骗工作,保护公民和组织的合法权益,维护社会稳定和国家安全,根据宪法,制定本法", "history": []} {"prompt": "中华人民共和国反电信网络诈骗法的作用是什么", "summary": "为了预防、遏制和惩治电信网络诈骗活动,加强反电信网络诈骗工作,保护公民和组织的合法权益,维护社会稳定和国家安全,根据宪法,制定本法", "history": []} {"prompt": "反诈法的作用是什么", "summary": "为了预防、遏制和惩治电信网络诈骗活动,加强反电信网络诈骗工作,保护公民和组织的合法权益,维护社会稳定和国家安全,根据宪法,制定本法", "history": []} {"prompt": "第二条是什么", "summary": "第二条内容是:本法所称电信网络诈骗,是指以非法占有为目的,利用电信网络技术手段,通过远程、非接触等方式,诈骗公私财物的行为", "history": []}

history 为空,训练行吗?我现在只想做单论对话,所以history为空[],不搞多轮 TypeError: Couldn't cast array of type list to null 这个报错啥原因

Expected Behavior

history 为空,训练行吗?不搞多轮 TypeError: Couldn't cast array of type list to null 这个报错啥原因

Steps To Reproduce

history 为空,训练行吗?不搞多轮 TypeError: Couldn't cast array of type list to null 这个报错啥原因

Environment - OS:centos - Python:3.10 - Transformers:4.27.1 - PyTorch:2.0.0 - CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :yes Anything else?

history 为空,训练行吗?不搞多轮 TypeError: Couldn't cast array of type list to null 这个报错啥原因



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3